package com.chdwmp.product.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author jinzhiyuan
 * @since 2020-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TRegisterPay implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "register_pay_id", type = IdType.AUTO)
    private Integer registerPayId;

    /**
     * 用户id
     */
    private Integer userRegisterId;

    /**
     * 预支付id
     */
    private String prepayId;

    /**
     * 支付方式 1：支付宝 2：微信
     */
    private Integer payWay;

    /**
     * 订单号
     */
    private String orderCode;

    /**
     * 订单总额 单位元
     */
    private Integer orderCost;

    /**
     * 支付状态
     */
    private Integer payStatus;

    /**
     * 是否接受到通知 0否 1是
     */
    private Integer notified;

    /**
     * 订单id
     */
    private String payId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

}
